package com.company.store;

import com.company.pojo.Pizza;

/**
 * 披萨店
 */
public abstract class PizzaStore {

    public abstract Pizza createPizza(String type);

    public void orderPizza(String type) {
        Pizza pizza = createPizza(type);
        // pizza 上菜流程
        pizza.serveStep();
    }

}
